'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
// TODO 下次进行路由映射
module.exports = app => {
  const { router, controller } = app;
  router.get('/api/v1/getMessage', controller.message.index);
  router.post('/api/v1/sendMessage', controller.message.sendMessage);
};
